<?php
class EventComment extends EventsAppModel {

	var $name = 'EventComment';
	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'Event' => array(
					'className' => 'Events.Event',
					'foreignKey' => 'event_id',
					'conditions' => '',
					'fields' => '',
					'order' => '',
					'counterCache' => 'comment_count'
					),
			'User' => array(
					'className' => 'Users.User',
					'foreignKey' => 'user_id',
					'conditions' => '',
					'fields' => '',
					'order' => '',
					'counterCache' => 'comment_count'
					)
					);

}
?>